package com.wlyuan.open.remote.facade;

import com.wlyuan.core.domain.valueobj.TenantId;
import com.wlyuan.core.domain.valueobj.UserId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lijing
 */
@Data
public class User implements Serializable {
    private static final long serialVersionUID = 1251169325417719906L;

    @ApiModelProperty("公司id")
    private TenantId tenantId;
    @ApiModelProperty("公司别名")
    private String alias;
    @ApiModelProperty("公司编号")
    private String code;
    @ApiModelProperty("公司名称")
    private String name;
    @ApiModelProperty("手机号码")
    private String mobile;
    @ApiModelProperty("用户类型")
    private Integer type;
    @ApiModelProperty("用户类型名称")
    private String typeName;
    @ApiModelProperty("注册来源")
    private Integer source;
    @ApiModelProperty("注册来源名称")
    private String sourceName;
    @ApiModelProperty("租户状态")
    private Integer status;
    @ApiModelProperty("租户状态名称")
    private String statusName;
    @ApiModelProperty("备注")
    private String remarks;
    @ApiModelProperty("是否带别名")
    private Boolean isAlias;

    private String account;

    private UserId userId;
}
